package cn.yuanqiao.archive.storeRoom.domain;

import cn.yuanqiao.common.annotation.Excel;
import cn.yuanqiao.common.annotation.IdAnnotation;
import cn.yuanqiao.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 温湿度登记对象 YQWENSHIDUDJ
 * 
 * @author xy
 * @date 2023-06-16
 */
public class Humiture extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @IdAnnotation
    private Long id;

    private String ids;


    @Excel(name = "记录时间")
    private String recordingTime;

    /** 库房名称 */
    @Excel(name = "库房")
    private String storeName;


    @Excel(name = "库房管理员")
    private String managerUser;

    /** 天气 */
    @Excel(name = "天气")
    private String weather;

    /** 库房温度 */
    @Excel(name = "库房温度(摄氏度)")
    private String temperature;

    /** 库房湿度 */
    @Excel(name = "库房相对湿度(%)")
    private String humidity;

    /** 库房管理员 */
    private String manager;



    /** 是否删除 */
/*
    @Excel(name = "是否删除")
*/
    private Integer isDel;

    /** 库房id */
/*
    @Excel(name = "库房id")
*/
    private Long storeId;



    private String edRecordingTime;


    /** 措施 */
    @Excel(name = "采取措施")
    private String measures;

    /** 措施 */
/*
    @Excel(name = "创建人")
*/
    private Long creator;


    private String keyword;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /** 最后修改人 */
/*
    @Excel(name = "最后修改人")
*/
    private Long lastUpdater;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date lastupdateTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setWeather(String weather) 
    {
        this.weather = weather;
    }

    public String getWeather() 
    {
        return weather;
    }
    public void setTemperature(String temperature) 
    {
        this.temperature = temperature;
    }

    public String getTemperature() 
    {
        return temperature;
    }
    public void setHumidity(String humidity) 
    {
        this.humidity = humidity;
    }

    public String getHumidity() 
    {
        return humidity;
    }
    public void setIsDel(Integer isDel)
    {
        this.isDel = isDel;
    }

    public Integer getIsDel()
    {
        return isDel;
    }

    public void setMeasures(String measures) 
    {
        this.measures = measures;
    }

    public String getMeasures() 
    {
        return measures;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public Long getCreator() {
        return creator;
    }

    public void setCreator(Long creator) {
        this.creator = creator;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getLastUpdater() {
        return lastUpdater;
    }

    public void setLastUpdater(Long lastUpdater) {
        this.lastUpdater = lastUpdater;
    }

    public Date getLastupdateTime() {
        return lastupdateTime;
    }

    public void setLastupdateTime(Date lastupdateTime) {
        this.lastupdateTime = lastupdateTime;
    }

    public String getRecordingTime() {
        return recordingTime;
    }

    public void setRecordingTime(String recordingTime) {
        this.recordingTime = recordingTime;
    }

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }

    public String getManagerUser() {
        return managerUser;
    }

    public void setManagerUser(String managerUser) {
        this.managerUser = managerUser;
    }

    public String getEdRecordingTime() {
        return edRecordingTime;
    }

    public void setEdRecordingTime(String edRecordingTime) {
        this.edRecordingTime = edRecordingTime;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("storeName", getStoreName())
            .append("manager", getManager())
            .append("recordingTime", getRecordingTime())
            .append("weather", getWeather())
            .append("temperature", getTemperature())
            .append("humidity", getHumidity())
            .append("isDel", getIsDel())
            .append("storeId", getStoreId())
            .append("measures", getMeasures())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("lastUpdater", getLastUpdater())
            .append("lastupdateTime", getLastupdateTime())
            .append("ids", getIds()
           ).toString();
    }
}
